package com.zbkj.service.service.standard.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zbkj.common.model.standard.PeProjectStandard;
import com.zbkj.service.dao.standard.PeProjectStandardMapper;
import com.zbkj.service.service.standard.IPeProjectStandardService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 
 * @since 2025-08-11
 */
@Service
public class PeProjectStandardServiceImpl extends ServiceImpl<PeProjectStandardMapper, PeProjectStandard> implements IPeProjectStandardService {

    @Override
    public void deleteByProjectId(Long projectId) {
        if (projectId != null) {
            this.lambdaUpdate().eq(PeProjectStandard::getProjectId, projectId).set(PeProjectStandard::getIsDelete, 1).update();
        }
    }
}
